package com.springboot.mq.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wangning
 * @create 2021-05-11 10:06
 */
public class Message implements Serializable {
	private static final long serialVersionUID = 884622233471193139L;
	private String content;
	private Date date;

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public String toString() {
		return "Message{" +
				"content='" + content + '\'' +
				", date=" + date +
				'}';
	}
}
